package com.koron.ticket.line.workChange.ticketchange.service;


import com.koron.bean.base.Response;
import com.koron.ticket.line.workChange.ticketchange.bean.TicketChange;
import com.koron.ticket.line.workChange.ticketchange.bean.TicketChangeQuery;
import org.koron.ebs.mybatis.SessionFactory;

/**
 * (TicketChange)表服务接口
 *
 * @author 
 * @since 2021-10-26 14:40:38
 */
public interface TicketChangeService {

    Response  insert(SessionFactory factory, TicketChange ticketChange);

    Response  deleteById(SessionFactory factory, String id);
    
    Response  update(SessionFactory factory, TicketChange ticketChange);

    Response  getById(SessionFactory factory, String id);

    Response getListAndPaging(SessionFactory factory, TicketChangeQuery ticketChangeQuery);

    TicketChange getByWorkTicketId(SessionFactory factory, String workTicketId);

    void deleteAllChangesByWorkTicketId(SessionFactory factory, String id);
}
